package com.qiaofang.applet.service.other.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiaofang.applet.common.base.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

/**
 * @Author: youqing.yang
 * @Create: 2020/10/23 15:06
 * @Description:
 **/
@Document(collection = "other_sign_contact")
@Data
@ApiModel("电子签约合同详情")
@NoArgsConstructor
public class SignContact extends BaseDomain {

    @ApiModelProperty("签署方uuid")
    private String signatoriesUuid;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("合同名称")
    private String contactName;

    @ApiModelProperty("发起方")
    private String employeeName;

    @ApiModelProperty("我的签署状态")
    private String status;

    @ApiModelProperty("合同签署状态")
    private String signStatus;

    @ApiModelProperty("合同uuid")
    private String contactUuid;

    @ApiModelProperty("契约锁合同id")
    private String qysContactId;

    @ApiModelProperty("发起签约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startSignTime;

    @ApiModelProperty("删除标识,true表示删除，false 表示未删除")
    private Boolean deleted;

    @ApiModelProperty("最后解析日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date lastSyncDate;
}
